<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title></title>
    <style>
        .div1 {
            width: 200px;
            height: 200px;
            background: url("./happy.png");
            background-size: 100px 100px;
            /* background-size: contain; */
            background-repeat: no-repeat;
            color: #ffffff;
            border: 1px solid red;
        }

        .div2 {
            width: 200px;
            height: 200px;
            background: url("./happy.png");
            background-size: 100px 100px;
            /* background-size: contain; */
            /* background-repeat: no-repeat; */
            color: #ffffff;
            border: 1px solid red;
        }

        .div3 {
            width: 200px;
            height: 200px;
            background: url("./happy.png");
            /* background-size: 100px 100px; */
            background-size: contain;
            background-repeat: no-repeat;
            color: #ffffff;
            border: 1px solid red;
        }
        .div4 {
            width: 200px;
            height: 200px;
            background: url("./happy.png");
            /* background-size: 100px 100px; */
            background-size: contain;
            /* background-repeat: no-repeat; */
            color: #ffffff;
            border: 1px solid red;
        }    
            .div5 {
            width: 400px;
            height: 100px;
            background: url("./happy.png");
            background-size: cover;
            /* background-repeat: no-repeat; */
            color: #ffffff;
            border: 1px solid red;
        }
    </style>
</head>

<body>

    <div class="div1">
        Lorem ipsat.feugiat nulolore te feugait nulla facilisi.
    </div>

    <div class="div2">
        Lorem ipsat.feugiat nulolore te feugait nulla facilisi.
    </div>
    <div class="div3">
        Lorem ipsat.feugiat nulolore te feugait nulla facilisi.
    </div>
    <div class="div4">
        Lorem ipsat.feugiat nulolore te feugait nulla facilisi.
    </div>
    <div class="div5">
        Lorem ipsat.feugiat nulolore te feugait nulla facilisi.
    </div>
</body>

</html>